package com.yykj.hospital.server.form;

import com.yykj.common.enums.DoctorArticleShowClient;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class ArticleEditForm {

    private Integer id;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("副标题")
    private String subTitle;

    @ApiModelProperty("医院ID")
    private Integer hospitalId;

    @ApiModelProperty("医生ID")
    private String doctorId;

    @ApiModelProperty("封面")
    private String headImg;

    @ApiModelProperty("阅读数")
    private Integer readCnt = 0;

    @ApiModelProperty("点赞数")
    private Integer praiseCnt = 0;

    @ApiModelProperty("分享数")
    private Integer shareCnt = 0;

    @ApiModelProperty("文章内容")
    private String content ;

    @ApiModelProperty("显示端:医生端：doctor，患者端:patient,患者端和医生端一起：all")
    private DoctorArticleShowClient client;

    @ApiModelProperty("状态")
    private Boolean status ;

}
